package com.songcy.dao;

import java.util.List;

import com.dao.ObjectDao;
import com.pro.bean.Unit;

public class UnitDao extends ObjectDao{
	
	public List GetUintByName(String name)
	{
		String sql = "select * from Unit where unitname = '"+name+"'";
		return super.findAll(sql, new Unit());
	}
}
